package xyz.playedu.resource.service;

import com.baomidou.mybatisplus.extension.service.IService;
import xyz.playedu.resource.domain.ResourceText;
import xyz.playedu.resource.domain.ResourceTextNode;
import xyz.playedu.resource.domain.ResourceTextResponse;

import java.util.List;
import java.util.Map;

public interface ResourceTextService extends IService<ResourceText> {

    public ResourceTextResponse saveResourceTexts(int catalogId, int rid,String name,int duration, List<ResourceText> resourceTextList);

    public void removeByRid(int rid);

    public  List<ResourceText> getResourceTextByRid(int rid);

    public ResourceTextNode  parseHtml(String htmlContent);
}
